package com.telecom.cms.service;

import java.util.List;
import com.telecom.cms.dao.SysCodeDAO;
import com.telecom.cms.dto.SysCode;

public class SysCodeMgr {
   
	public int  save(SysCode syslvl){
		return (new SysCodeDAO()).insert(syslvl);
	}
	
	public void  delete(SysCode syslvl){
		(new SysCodeDAO()).delete(syslvl);
	}
	
	public List findcampstatus(){
		List result=(new SysCodeDAO()).findAllByType("Camp_Status");
		return result;
	}
	
	public List findothercomp(){
		List result=(new SysCodeDAO()).findAllByType("Other_Comp");
		return result;
	}
	
	public List findclutype(){
		List result=(new SysCodeDAO()).findAllByType("Clu_Type");
		return result;
	}

}
